Skip to main content

pgContentTypeOfColumn

Type

property

Summary

Get the data type of a column in a PolyGrid.

Syntax

get the pgContentTypeofColumn of widget

Description

Before calling the pgContentTypeOfColumn property, you must point to the column for which you want to get the type. This is done with the pgInternalPointer property.

Examples

on mouseUp
local tTypeOfColumn

# The following code shows how to get the content type of column number 5.
set the pgInternalPointer of widget"PolyGrid" to "5" --> Column 5
put the pgContentTypeOfColumn of widget"PolyGrid" into tTypeOfColumn --> text, svg-lcname,...
end mouseUp